const go/types.value
69 uses
go/types (current package)
api.go#L409: case constant_, variable, mapindex, value, commaok, commaerr:
api.go#L418: return tv.mode == value && tv.Type == Typ[UntypedNil]
api_predicates.go#L34: x := operand{mode_: value, typ_: V}
api_predicates.go#L45: x := operand{mode_: value, typ_: V}
assignments.go#L33: case constant_, variable, mapindex, value, commaok, commaerr:
builtins.go#L146: x.mode_ = value
builtins.go#L161: mode = value
builtins.go#L166: mode = value
builtins.go#L181: mode = value
builtins.go#L185: mode = value
builtins.go#L207: mode = value
builtins.go#L354: x.mode_ = value
builtins.go#L421: x.mode_ = value
builtins.go#L516: x.mode_ = value
builtins.go#L578: x.mode_ = value
builtins.go#L621: x.mode_ = value
builtins.go#L628: x.mode_ = value
builtins.go#L676: x.mode_ = value
builtins.go#L729: x.mode_ = value
builtins.go#L749: x.mode_ = value
builtins.go#L763: x.mode_ = value
builtins.go#L815: mode := value
builtins.go#L827: x.mode_ = value
builtins.go#L851: x.mode_ = value
builtins.go#L883: x.mode_ = value
builtins.go#L900: x.mode_ = value
builtins.go#L920: x.mode_ = value
builtins.go#L935: x.mode_ = value
call.go#L104: args = []*operand{{mode_: value, expr: expr, typ_: T.sig}}
call.go#L128: x.mode_ = value
call.go#L179: assert(x.mode() == value)
call.go#L316: check.recordTypeAndValue(call.Fun, value, sig, nil)
call.go#L327: x.mode_ = value
call.go#L338: x.mode_ = value
call.go#L346: if x.mode() == value && sig.TypeParams().Len() > 0 && isParameterized(sig.TypeParams().list(), x.typ()) {
call.go#L426: resList[i] = &operand{mode_: value, expr: e, typ_: v.typ}
call.go#L708: funcMode := value
call.go#L776: x.mode_ = value
call.go#L874: x.mode_ = value
call.go#L914: x.mode_ = value
call.go#L974: x.mode_ = value
call.go#L1021: x.mode_ = value // anything but invalid
conversions.go#L82: x.mode_ = value // type parameters are not constants
conversions.go#L86: x.mode_ = value
expr.go#L145: x.mode_ = value
expr.go#L191: x.mode_ = value
expr.go#L566: x.mode_ = value
expr.go#L742: x.mode_ = value
expr.go#L754: x.mode_ = value
expr.go#L870: x.mode_ = value
expr.go#L1296: list[i] = &operand{mode_: value, expr: dummy, typ_: v.typ}
expr.go#L1313: x2 := &operand{mode_: value, expr: dummy, typ_: typ}
expr.go#L1379: if x.mode() == value {
index.go#L38: case value:
index.go#L86: x.mode_ = value
index.go#L94: x.mode_ = value
index.go#L141: mode = value
index.go#L147: mode = value
index.go#L347: x.mode_ = value
literals.go#L103: x.mode_ = value
literals.go#L341: x.mode_ = value
operand.go#L32: value // operand is a computed value
operand.go#L47: value: "value",
operand.go#L143: if x.mode() == value && x.typ() == Typ[UntypedNil] {
operand.go#L318: return x.mode() == value && x.typ() == Typ[UntypedNil]
range.go#L139: y.mode_ = value
range.go#L180: y.mode_ = value
typexpr.go#L121: x.mode_ = value
typexpr.go#L128: x.mode_ = value